<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-proChg-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">项目名称：</label>
				<div class="col-sm-8">
					<select id="proId" name="proId" class="form-control m-b" th:with="type=${@ProInfoServiceImpl.selectProsBySta('0')}">
						<option th:each="dict : ${type}" th:text="${dict.proName}" th:value="${dict.proId}"></option>
					</select>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">证件号码：</label>
				<div class="col-sm-8">
					<input id="empId" name="empId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">姓名：</label>
				<div class="col-sm-8">
					<input id="empNm" name="empNm" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">被替换人员证件号码：</label>
				<div class="col-sm-8">
					<input id="chgEmpId" name="chgEmpId" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">被替换人员姓名：</label>
				<div class="col-sm-8">
					<input id="chgEmpNm" name="chgEmpNm" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">事项类型：</label>
				<div class="col-sm-8">
					<input id="chgMattType" name="chgMattType" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">变更发起方：</label>
				<div class="col-sm-8">
					<input id="chgLaunch" name="chgLaunch" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">变更类型：</label>
				<div class="col-sm-8">
					<input id="chgType" name="chgType" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">变更时间：</label>
				<div class="col-sm-8">
					<input id="chgDt" name="chgDt" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">变更原因：</label>
				<div class="col-sm-8">
					<input id="chgCause" name="chgCause" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">具体原因：</label>
				<div class="col-sm-8">
					<input id="chgDsc" name="chgDsc" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">事项角色：</label>
				<div class="col-sm-8">
					<input id="chgMattRole" name="chgMattRole" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">服务类别：</label>
				<div class="col-sm-8">
					<input id="chgServType" name="chgServType" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">资质领域：</label>
				<div class="col-sm-8">
					<input id="chgField" name="chgField" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">资质级别：</label>
				<div class="col-sm-8">
					<input id="chgLevel" name="chgLevel" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否核心成员：</label>
				<div class="col-sm-8">
					<input id="chgIsKey" name="chgIsKey" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">是否维护期进场：</label>
				<div class="col-sm-8">
					<input id="chgIsMtn" name="chgIsMtn" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">试用期类型：</label>
				<div class="col-sm-8">
					<input id="chgProbType" name="chgProbType" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">试用期(天)：</label>
				<div class="col-sm-8">
					<input id="chgProbDays" name="chgProbDays" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">免试原因：</label>
				<div class="col-sm-8">
					<input id="chgNoProbDsc" name="chgNoProbDsc" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">其他原因：</label>
				<div class="col-sm-8">
					<input id="chgOthers" name="chgOthers" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "pm/proChg"
		$("#form-proChg-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-proChg-add').serialize());
	        }
	    }
	</script>
</body>
</html>
